package {
	import com.ys.BeatSequencerAS3;
	
	import flash.display.Sprite;
	import flash.events.Event;

	[Frame(factoryClass="PreloaderFactory")]
	[SWF(width="800", height="500", backgroundColor="#ffffff", frameRate="30")]
	public class SequencerSample extends Sprite
	{
		public function SequencerSample():void
		{
			setDefaults();
			addEventListener(Event.ADDED_TO_STAGE, init);
		}
		
		private function init(e:Event):void
		{
			setDefaults();
			var main:BeatSequencerAS3 = new BeatSequencerAS3;
			addChild(main);
			main.y = 50;
		}
		
		private function setDefaults():void
		{
			//stage.align = 'top';
			//stage.scaleMode = 'noScale';
		}
	}
}
